<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>微博</title>
<link href="style/weibo.css" rel="stylesheet" type="text/css" />
    <script src="../lib/react.development.js"></script>
    <script src="../lib/react-dom.development.js"></script>
    <script src="../lib/babel.min.js"></script>
    <script src="../lib/axios.min.js"></script>
</head>

<body>
    <div id="root">

    </div>

</body>
<script type="text/babel" src="components/JyArea.js"></script>
<script type="text/babel" src="components/CommentOn.js"></script>
<script type="text/babel" src="components/TakeComment.js"></script>
<script type="text/babel" src="components/PageList.js"></script>
<script src="../lib/react-tools.js"></script>
<script type="text/babel">
    axios.interceptors.request.use(config=>{
        config.url = "http://127.0.0.1:8081"+config.url;
        return config;
    })
    axios.interceptors.response.use(({data})=>{
        return data;
    });
    React.Component.prototype.$axios = axios;
    React.Component.prototype.$tools = tools;
    ReactDOM.render(<JyArea/>,document.querySelector("#root"))
</script>
</html>
